/**
 * Created by losor on 2016/9/22.
 */
public class _344_ReverseString {
    public static void main(String[] args) {
        System.out.println(reverseString("hello"));
    }
    public static String reverseString(String s) {
        StringBuilder stringBuilder = new StringBuilder(s);
        stringBuilder.reverse();
        String s1 = stringBuilder.toString();
        return s1;
    }

}
